net/netip.AddrPort.ip (field)
17 uses
net/netip (current package)
netip.go#L1035: ip Addr
netip.go#L1041: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
netip.go#L1044: func (p AddrPort) Addr() Addr { return p.ip }
netip.go#L1093: ipp.ip, err = ParseAddr(ip)
netip.go#L1097: if v6 && ipp.ip.Is4() {
netip.go#L1099: } else if !v6 && ipp.ip.Is6() {
netip.go#L1120: func (p AddrPort) IsValid() bool { return p.ip.IsValid() }
netip.go#L1123: switch p.ip.z {
netip.go#L1127: a := p.ip.As4()
netip.go#L1137: return joinHostPort(p.ip.String(), itoa.Itoa(int(p.port)))
netip.go#L1154: switch p.ip.z {
netip.go#L1158: b = p.ip.appendTo4(b)
netip.go#L1160: if p.ip.Is4In6() {
netip.go#L1162: b = p.ip.Unmap().appendTo4(b)
netip.go#L1163: if z := p.ip.Zone(); z != "" {
netip.go#L1169: b = p.ip.appendTo6(b)
netip.go#L1183: switch p.ip.z {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)